package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.RoleMenu;
import com.itheima.pojo.RoleUser;
import org.apache.ibatis.annotations.Select;

/**
 * @author jshstart
 * @creat 2020-11-23 9:42
 */
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {

    @Select("select menu_id from t_role_menu where role_id=#{id}")
    Long[] findMenuByRoleId(Long id);
}
